package com.heakey.service;

import org.springframework.ai.tool.annotation.Tool;
import org.springframework.ai.tool.annotation.ToolParam;

/**
 * @Description TODO
 * @Author Bing
 * @Date 2025/3/22 11:38
 */
public class ProductTools {

    @Tool(description = "获取商品推荐")
    String getProductRecommend(@ToolParam(required = false,description = "中药的名称，一般是中草药")String chineseMedicineName,
                               @ToolParam(required = false,description = "体质名称，一般是（平和体质、阳虚体质、阴虚体质、气虚体质、痰湿体质、湿热体质、血瘀体质、气郁体质、特禀体质）")String constitution) {
        return "根据您咨询的问题我们为您推荐汉本养植物精油";
    }

}